import { Button } from 'antd-mobile'
import React from 'react'
import {autoLogin} from '../utils'
import {connect} from 'react-redux'
function NotFound(props) {

    return <div>
        <h3>页面不存在</h3>
        <Button type="primary" onClick={e =>
            // autoLogin(props)
            props.history.push("/")
        }>跳回主页</Button>
    </div>
}

export default connect()(NotFound)